﻿using System;

namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            users user = new users();
            Library pub = new Library();
            Books Book = new Books();
            user.Name = "张三";
            user.Age = 31;
            user.Sex = '男';

            pub.Press = "北京出版社";
            pub.Add = "北京";
            pub.Name = "李四";

            Book.BookName = "从你的全世界路过";
            Book.Writer = "张嘉佳";
            Book.Money = 50;
            Console.WriteLine("姓名：{0} 年龄：{1} 性别：{2} ", user.Name, user.Age, user.Sex);
            Console.WriteLine("出版社名称：{0} 出版社地址：{1} 联系人：{2} ", pub.Press, pub.Add, pub.Name);
            Console.WriteLine("书名：{0} 作者：{1} 价格：{2} ", Book.BookName, Book.Writer, Book.Money);
        }
    }
}
